package cn.tedu.exercise;

import com.sun.xml.internal.ws.api.model.wsdl.WSDLOutput;

/**
 * @author :Colin
 * @version 创建时间: 2021/6/19 11:01
 */
public class String1 {
    public static void main(String[] args) {
        String s="a";
        String s1="a";
        String s2= new String("a");
        String s3= new String("a");
        System.out.println(s==s1);
        System.out.println(s2==s1);
        System.out.println(s2==s3);


    }
}
